package com.xlf.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.xlf.pojo.mode.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName judge_case
 */
@TableName(value ="judge_case")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JudgeCase implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 提交判题id
     */
    private Long submitId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 题目id
     */
    private Long problemId;

    /**
     * 测试样例id
     */
    private Long caseId;

    /**
     * 具体看结果码
     */
    private Integer status;

    /**
     * 测试该样例所用时间ms
     */
    private Integer time;

    /**
     * 测试该样例所用空间kb
     */
    private Integer memory;

    /**
     * IO得分
     */
    private Integer score;

    /**
     * subtask分组的组号
     */
    private Integer groupNum;

    /**
     * 排序
     */
    private Integer seq;

    /**
     * default,subtask_lowest,subtask_average
     */
    private String mode;

    /**
     * 样例输入，比赛不可看
     */
    private String inputData;

    /**
     * 样例输出，比赛不可看
     */
    private String outputData;

    /**
     * 用户样例输出，比赛不可看
     */
    private String userOutput;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
